﻿@{ Layout = null;

}

@model DbTableEntity

<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    <h4 class="modal-title">表设置</h4>
</div>
<div class="modal-body">
    <div class="ibox float-e-margins">
        <div class="ibox-content text-center p-md">
            <form id="dynamic-DbTable-form" asp-action="DbTable" method="post" class="form-horizontal" role="form">
                <div asp-validation-summary="@ValidationSummary.All" class="text-danger"></div>
                <input type="hidden" asp-for="DbTableId" />
                <input type="hidden" asp-for="DbServerId" />

                <div class="form-group">
                    <label asp-for="DbTableName" class="col-md-3 control-label text-right"> 表名</label>
                    <div class="col-md-9  text-left">
                        <div class="input-group m-b">
                            <span class="input-group-addon">*</span>
                            <input asp-for="DbTableName" class="form-control" readonly validate="{required:true ,maxlength:50   }" />
                        </div>
                        <span asp-validation-for="DbTableName" class="text-danger"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label asp-for="LocalName" class="col-md-3 control-label text-right"> 别名</label>
                    <div class="col-md-9  text-left">
                        <div class="input-group m-b">
                            <span class="input-group-addon">*</span>
                            <input asp-for="LocalName" class="form-control" validate="{required:true ,maxlength:200   }" />
                        </div>
                        <span asp-validation-for="LocalName" class="text-danger"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label text-right"></label>
                    <div class="col-md-9 text-left">
                        <div class="i-checks ">
                            <label asp-for="IsTable"> <input tabindex="5" asp-for="IsTable" type="checkbox">  是否是表 </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label asp-for="OrderNo" class="col-md-3 control-label text-right"> 排序</label>
                    <div class="col-md-9  text-left">
                        <div class="input-group m-b">
                            <span class="input-group-addon">*</span>
                            <input asp-for="OrderNo" class="form-control" max="500" validate="{required:true ,number:true    }" />
                        </div>
                        <span asp-validation-for="OrderNo" class="text-danger"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label asp-for="DbNamespace" class="col-md-3 control-label text-right"> 所属模块</label>
                    <div class="col-md-9  text-left">
                        <div class="input-group m-b">
                            <span class="input-group-addon"></span>
                            <input asp-for="DbNamespace" class="form-control" validate="{required:false ,maxlength:50   }" />
                        </div>
                        <span asp-validation-for="DbNamespace" class="text-danger"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label asp-for="Remark" class="col-md-3 control-label text-right">描述</label>
                    <div class="col-md-9  text-left">
                        <div class="input-group m-b">
                            <span class="input-group-addon"></span>
                            <input asp-for="Remark" class="form-control" validate="{required:false ,maxlength:255   }" />
                        </div>
                        <span asp-validation-for="Remark" class="text-danger"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label text-right"></label>
                    <div class="col-md-9 text-left">
                        <div class="i-checks ">
                            <label asp-for="IsEnableCreate"> <input tabindex="8" asp-for="IsEnableCreate" type="checkbox">  启用创建人 </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label text-right"></label>
                    <div class="col-md-9 text-left">
                        <div class="i-checks ">
                            <label asp-for="IsEnableLastModify"> <input tabindex="9" asp-for="IsEnableLastModify" type="checkbox">  启用修改人 </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label text-right"></label>
                    <div class="col-md-9 text-left">
                        <div class="i-checks ">
                            <label asp-for="IsEnableIsDeleted"> <input tabindex="10" asp-for="IsEnableIsDeleted" type="checkbox">  启用假删除 </label>
                        </div>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>
<div class="modal-footer">

</div>
